<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!-- 屏蔽tomcat 自带的 EL表达式 -->
<%@ page isELIgnored="false" %>  
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head>
    <meta charset="UTF-8">
    <title>用户信息</title>
   
	<script type="text/javascript" src="${ctx}/static/js/jquery-1.12.4.min.js"></script>
	<script type="text/javascript" src="${ctx}/static/js/form.js"></script>
	<script type="text/javascript" src="${ctx}/static/layer/layer.js"></script>
	<script type="text/javascript" src="${ctx}/static/js/ajax.js"></script>
	<script type="text/javascript" src="${ctx}/static/bootstrap/bootstrap.js"></script>
	<script type="text/javascript" src="${ctx}/static/bootstrap/bootstrapdefault.js"></script>
	<script type="text/javascript" src="${ctx}/static/bootstrap/bootstrap-table.js"></script>
	<script type="text/javascript" src="${ctx}/static/bootstrap/bootstrap-table-zh-CN.js"></script>
	<script type="text/javascript" src="${ctx}/static/bootstrap/bootstrap-select.js"></script>
    <script type="text/javascript" src="${ctx}/static/bootstrap/bootstrap-select-zh_CN.js"></script>
	
	<script type="text/javascript" src="${ctx}/static/js/user/userList.js"></script>
	<link rel="stylesheet" type="text/css" href="${ctx}/static/bootstrap/bootstrap.css" media="all">
	<link rel="stylesheet" type="text/css" href="${ctx}/static/bootstrap/bootstrap-table.css" media="all">
	<link rel="stylesheet" type="text/css" href="${ctx}/static/bootstrap/bootstrap-select.css" media="all">
	<script>
		var ctx = "${ctx}";
	</script>
	
</head>
<body style="padding-top: 8px;">

	<div class="container-fluid">
			<div class="row-fluid">
				<div class="span12">
						<form role="form" id="searchform" class="form-horizontal">
								  <div class="form-group">
									    <label for="name" class="col-sm-1 control-label">名称</label>
									    <div class="col-sm-3"><input type="text" class="form-control" id="name" name="_LIKE_name" placeholder="请输入名称"  autocomplete="off"></div>
									    <label for="name" class="col-sm-1 control-label">邮箱</label>
									    <div class="col-sm-3"><input type="text" class="form-control" id="email" name="_LIKE_email" placeholder="请输入邮箱"  autocomplete="off"></div>
									    <label for="EQ_sex" class="col-sm-1 control-label">sex</label>
									    <div class="col-sm-3">
								    		<select class="selectpicker" id= "sex" name="_EQ_sex"  data-url="dict:${ctx}:Sex">
						    				</select>
									    </div>
								  </div>
								 <div class="form-group">
									<div class="col-sm-offset-5 col-sm-6">
										<button id="btnsearch" type="button" class="btn  btn-green"><span class="glyphicon glyphicon-search"></span> 查询</button>
										<button id="btnreset" type="reset" class="btn  btn-red"><span class="glyphicon glyphicon-repeat"></span> 重置</button>
									</div>
								</div>
						</form>
						<div class="bootstrapTable" >
								<table id="table"></table>
						</div>
						<div id="toolbar" class="btn-toolbar" role="toolbar">
								<div  class="btn-group" role="group" >
									  <button id="btnAdd" type="button" class="btn btn-green"> <span class="glyphicon glyphicon-plus"></span> 新建</button>
									  <button id="btnEdit" type="button" class="btn btn-blue"><span class="glyphicon glyphicon-edit"></span> 编辑</button>
									  <button id="btnView" type="button" class="btn btn-orange"><span class="glyphicon glyphicon-List alt"></span> 查看</button>
									  <button id="btnDelete" type="button" class="btn btn-red"><span class="glyphicon glyphicon-Trash"></span> 删除</button>
								</div>
								<div  class="btn-group" role="group" >
									  <button id="btnViewRole" type="button" class="btn btn-green"> <span class="glyphicon glyphicon-List alt"></span> 查看角色</button>
									  <button id="btnAddRole" type="button" class="btn btn-blue"><span class="glyphicon glyphicon-edit"></span> 设定角色</button>
								</div>
						</div>
						
						
						
						
						
				</div>
			</div>
	</div>
	
</body>
</html>
